go/types.Named.obj (field)

28 uses

	go/types (current package)
		call.go#L534: 			check.cycleError([]Object{def.obj})
		decl.go#L526: 	if named == nil || named.obj.pkg == check.pkg || named.obj.pkg == nil {
		instantiate.go#L79: 		tname := NewTypeName(pos, orig.obj.pkg, orig.obj.name, nil)
		named.go#L15: 	obj        *TypeName      // corresponding declared object for declared types; placeholder for instantiated types
		named.go#L66: 	typ := &Named{check: check, obj: obj, orig: orig, fromRHS: underlying, underlying: underlying, tparams: tparams, methods: methods}
		named.go#L103: 	return t.orig.obj // for non-instances this is the same as t.obj
		named.go#L285: 		path = append(path, n.obj)
		named.go#L311: 		if n.obj.pkg != check.pkg {
		object.go#L271: 		return obj != t.obj
		predicates.go#L102: 	return named != nil && named.obj != nil && named.targs == nil && named.TypeParams() != nil
		predicates.go#L415: 			return x.obj == y.obj
		signature.go#L227: 					if T.obj.pkg != check.pkg {
		typeparam.go#L138: 			pos = n.obj.pos
		typestring.go#L288: 		w.typeName(t.obj) // when hashing written for readability of the hash only
		typexpr.go#L333: 			typ.obj = def.obj
		typexpr.go#L441: 		tname := NewTypeName(ix.Pos(), orig.obj.pkg, orig.obj.name, nil)
		unify.go#L558: 			if x.obj.pkg == y.obj.pkg && x.obj.name == y.obj.name {
		universe.go#L258: 		typ.obj = obj.(*TypeName)
		validtype.go#L74: 			check.infoMap[t] = check.validType0(t.orig.fromRHS, env.push(t), append(path, t.obj))
		validtype.go#L81: 			assert(t.obj.pkg == check.pkg)
		validtype.go#L85: 				if tn == t.obj {